home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC & Mediji 1998 February
/
PCM_9802.iso
/
programi
/
director
/
data.z
/
Simple Child Object.dir
/
00002_Script_StartMovie Handlers
< prev
next >
Wrap
Text File
|
1997-05-10
|
697b
|
35 lines
on prepareMovie
-- puppet the ball/script sprite channel
puppetSprite 2, TRUE
-- make the "new" button visible; make the "left"
-- and "right" buttons invisible
set the visible of sprite 3 to TRUE
set the visible of sprite 4 to TRUE
repeat with n = 5 to 8
set the visible of sprite n to FALSE
end repeat
end
on createBall
global ball1
set ball1 to 0
set ball1 to new(script "Ball Parent Script")
set the visible of sprite 3 to FALSE
set the visible of sprite 4 to FALSE
repeat with n = 5 to 8
set the visible of sprite n to TRUE
end repeat
end createBall
on stopMovie
puppetSprite 2, FALSE
end stopMovie